package com.soda.bean;

import java.util.ArrayList;
import java.util.List;

public class User {
	private String fuckbitcher;
	private int userid;
	private int useId;				//用户id
	private String useLoginName;	//用户登录名
	private String usePassWord;		//密码
	private String useName;			//用户真实姓名
	private String useIdCard;		//身份证号
	private String usePhone;		//手机号
	private int useSex;				//性别
	private String useAddress;		//地址
	private String useEmail;		//邮箱
	private int useState;			//用户状态 0：禁用 1：正常启用
	private int useDelete;			//是否已被删除 0：不显示 1：显示
	private int roleId;				//角色表关联字段roleId
	private Role role=new Role();	//用户对角色   多对一
	private List<Course> courses=new ArrayList<Course>();
	public User() {
		// TODO Auto-generated constructor stub
	}
	

	public User(String useName) {
		super();
		this.useName = useName;
	}
	
	
	public int getRoleId() {
		return roleId;
	}


	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}


	public User(int useId, String useLoginName, String usePassWord,
			String useName, String useIdCard, String usePhone, int useSex,
			String useAddress, String useEmail, int useState, int useDelete) {
		super();
		this.useId = useId;
		this.useLoginName = useLoginName;
		this.usePassWord = usePassWord;
		this.useName = useName;
		this.useIdCard = useIdCard;
		this.usePhone = usePhone;
		this.useSex = useSex;
		this.useAddress = useAddress;
		this.useEmail = useEmail;
		this.useState = useState;
		this.useDelete = useDelete;
	}
	public int getUseId() {
		return useId;
	}
	public void setUseId(int useId) {
		this.useId = useId;
	}
	public String getUseLoginName() {
		return useLoginName;
	}
	public void setUseLoginName(String useLoginName) {
		this.useLoginName = useLoginName;
	}
	public String getUsePassWord() {
		return usePassWord;
	}
	public void setUsePassWord(String usePassWord) {
		this.usePassWord = usePassWord;
	}
	public String getUseName() {
		return useName;
	}
	public void setUseName(String useName) {
		this.useName = useName;
	}
	public String getUseIdCard() {
		return useIdCard;
	}
	public void setUseIdCard(String useIdCard) {
		this.useIdCard = useIdCard;
	}
	public String getUsePhone() {
		return usePhone;
	}
	public void setUsePhone(String usePhone) {
		this.usePhone = usePhone;
	}
	public int getUseSex() {
		return useSex;
	}
	public void setUseSex(int useSex) {
		this.useSex = useSex;
	}
	public String getUseAddress() {
		return useAddress;
	}
	public void setUseAddress(String useAddress) {
		this.useAddress = useAddress;
	}
	public String getUseEmail() {
		return useEmail;
	}
	public void setUseEmail(String useEmail) {
		this.useEmail = useEmail;
	}
	public int getUseState() {
		return useState;
	}
	public void setUseState(int useState) {
		this.useState = useState;
	}
	public int getUseDelete() {
		return useDelete;
	}
	public void setUseDelete(int useDelete) {
		this.useDelete = useDelete;
	}
	public Role getRole() {
		return role;
	}
	public void setRole(Role role) {
		this.role = role;
	}
	public List<Course> getCourses() {
		return courses;
	}
	public void setCourses(List<Course> courses) {
		this.courses = courses;
	}
	
}
